package gods.bubble.util;

public class PathURL {
	public static String path2url(String path) {
		try {
			return path.split("mirror\\\\")[1];
		}
		catch(Exception e) {
			return null;
		}
	}
	
	public static String url2path(String url) {
		return Config.dataDir + url;
	}
}
